import request from '@/config/request.js';

// 根据站点、箱码获取箱信息
export const getBoxInfoAPI = (data) => request.post('/semiApi/semiInboundOrder/specialGetMaterialInfo', data)

// 二次
export const secondButtonAPI = (data) => request.post('/semiApi/semiInboundOrder/otherMaterialReceive', data)

// 获取半成品入库port设备
export const getInPortListAPI = (data) => request.post('/semiApi/whFacility/getSemiInboundPort', data)

// 查物料
export const getMaterialInfoAPI = (params) => request.get('/semiApi/semiMaterial/getMaterial', params)

// 超标物料绑定入库接口
export const ncmmBindInAPI = (data) => request.post('/semiApi/semiContainer/otherInventoryBind', data)

// 根据站点获取当前绑定的箱
export const currentBindBoxAPI = (data) => request.get(`/semiApi/semiInboundOrder/getCurrentPortIsBox/${data}`, data)